package com.mutual.product.service;

import java.util.List;
import java.util.Map;

import com.mutual.attachment.pojo.Attachment;
import com.mutual.commom.pojo.ReturnResult;
import com.mutual.commom.service.BaseService;
import com.mutual.product.pojo.Product;

public interface ProductService extends BaseService<Product>{

	int selectProductTotal(Map<String,Object> param);
	
	List<Product> selectProductList(Map<String,Object> param);
	
	ReturnResult addProduct(Product product,Attachment a);
	
	ReturnResult updateProduct(Product product,Attachment a);
	
	int deleteProduct(int id);
}
